/**
 * Copyright (c) 2020-2021 浦东大爷 All rights reserved.
 * 机会永远都是留给有准备的人
 */
package com.lagou.mapper;

import com.lagou.vo.AveragePayVo;
import com.lagou.vo.ConverterVo;
import com.lagou.vo.IndustryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: gitwo
 * @date: 2021-03-10
 * @description:
 */
public interface IndustryMapper {
    /**
     * 统计各个城市招聘情况
     * @return
     */
    List<ConverterVo> countCityPosition();

    /**
     * 统计热门行业top20
     * @return
     */
    List<IndustryVo> getIndustryTopPosition();

    /**
     * 统计热门行业
     * @param industryName
     * @param startDate
     * @param endDate
     * @return
     */
    List<IndustryVo> getIndustryComparePosition(@Param("industryName") String industryName,
                                                @Param("startDate") String startDate,
                                                @Param("endDate") String endDate);

    /**
     * 统计平均工资最高的十个城市
     * @return
     */
    List<AveragePayVo> getAveragePayPosition();
}
